package ioc;

/**
 * @program: spring-demo1
 * @author: JCM
 * @create: 2023-02-20 21:33
 * @description:
 **/
public class Bottom {
    private Tire tire;
    public Bottom(Tire tire) {
        this.tire = tire;
    }
    public void init() {
        System.out.println("执行了 bottom 的 init 方法");
        tire.init();
    }
}
